﻿using QLTour.Biz;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using QLTour.Dal;
namespace QLTour.Gui
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }

        private void FrmMain_Load(object sender, EventArgs e)
        {
            //DiaDiemBiz dd = new DiaDiemBiz("1", "Sài gòn");
            //dd.Insert();
            // DiaDiemDal dal = new DiaDiemDal();
            //TourDal dal = new TourDal();
            //GiaTourDal dal = new GiaTourDal();
            //dataGridView1.DataSource = dal.GetListByTour("1");
            //TourBiz tbiz = new TourBiz();
            //tbiz.Ten = "Kaka";
            //tbiz.Update();
        }

        private void btnQuanLiDiaDiem_Click(object sender, EventArgs e)
        {
            FrmDiaDiem dd = new FrmDiaDiem();
            dd.Show(this);
        }

        private void btnQuanLiTour_Click(object sender, EventArgs e)
        {
            FrmTour t = new FrmTour();
            t.Show(this);
        }
    }
}
